package com.pkk.spring.cloud.service.rpc.code;

/**
 * 状态CODE
 *
 * @author peikunkun
 * @version V1.0
 * @date 2021-01-06 15:05
 **/
public interface StatusCode<C> {

  /**
   * 获取状态码
   *
   * @return
   */
  C getCode();


  /**
   * 获取描述信息
   *
   * @return
   */
  String getMessage();


}


